<template>
	<view class="header">
		<view class="title" src="">
			<image class="title_img" src="../static/img/banner1.png" mode=""></image>
		</view>
	</view>
</template>

<script>
	
	export default {
		name: 'Header',
		data() {
			return {
				statusBarHeight: 0,
				navBarHeight: 44
			};
		},
		onLoad() {
			this.statusBarHeight = uni.getSystemInfoSync().statusBarHeight;
		},
		methods: {

		},
	}
</script>

<style lang="scss" scoped>
	.header {
		position: fixed;
		width: 750rpx;
		height: 676rpx;
		top: 0;
		left: 0;
		right: 0;
		height: calc(var(--status-bar-height) + 624rpx);
		/* 状态栏+导航栏高度 */
		// background-image: url('');
		/* 替换为你的图片路径 */
		background-repeat: no-repeat;
		background-position: center;
		background-size: cover;
		display: flex;
		justify-content: center;
		align-items: center;
		z-index: 999;
		/* 确保头部在其他元素之上 */
	}

	.title {
		color: white;
		font-size: 16px;
	}
	.title_img{
		width: 750rpx;
		height: 676rpx;
	}
</style>